<?php
    /*********************用户登录功能模块***********************/

    header("Content-type:text/html;charset=utf-8");

    // 创建session
    session_start();

    // 连接数据库
    // include("connect_db.php");

    // $username = $_GET['username'];
    // // $password = md5($_GET['password']);
    // $password = $_GET['password'];

    $username = $_POST['username'];
    $password = $_POST['password'];


    $login = "登录";

    $json = array("data"=>$login,"username"=>$username,"password"=>$password,"errcode"=>'-1','errmsg'=>'error');

    $data = json_encode($json);
    echo $data;
    // echo $username;
?>